const testApi = 'https://mock.presstime.cn/mock/6282ee79a4d920002f109e33/'

const API = 'http://api.ljkjkf.com:9001/'

const jszxtest = 'http://jszxtest-rest.ljkjkf.com/api/'


const common = 'https://common-api.ljkjkf.com/'



// http://api.ljkjkf.com:9001/aes/CustomOffsetKey
// http://api.ljkjkf.com:9001/meteragelist/ListByTenderGuid?tenderGuid=28B47EB0-4FF9-11EA-881E-1BAB55EEF20E

export const API_LIST = (path = []) => {
  // const { AUTH, API } = window

  return ({
    getProject: `${testApi}example/getProject`,
    getSheet: `${testApi}example/getSheet`,
    getConfig: `${testApi}example/getConfig`,
    getHome: `${testApi}example/getHome`,
    getTextTempA01: `${testApi}example/getTextTempA01`,
    getChartTempA01: `${testApi}example/getChartTempA01`,
    getChartTempA02: `${testApi}example/getChartTempA02`,

    getRouter: `${testApi}example/getRouter`,
    getStyle: `${testApi}example/getStyle`,

    getDate: `${testApi}example/getDate`,

    posText: `${API}aes/CustomOffsetKey`,
    getTextData: `${API}meteragelist/ListPage`,

    getCommonJsonInfoByUuid: `${jszxtest}wechatMenus/GetCommonJsonInfoByUuid`,
    posCommonJsonInfoByUuid: `${jszxtest}wechatMenus/SaveCommonJsonInfoByUuid?Uuid=${path[0]}`,

    getTestJTGJ: 'http://jtgj-rest.ljkjkf.com/api/engineeringOrganizations',

    getField: `${testApi}example/getField`,
    getTable: `${testApi}example/getTable`,


    // !!! 公共库接口
    // 获取项目基础信息
    getProjectConfigInfo: `${common}projects/getProjectConfigInfo`,




  })
} 